package com.zhouheng.springbootdesignpattern.proxypattern.jdkdynamicproxy;

/**
 * 学生DAO实现类
 *
 * @author 周恒
 * @date 20200120 14:25:17
 * @since v1.0
 */
public class StudentDaoImpl implements IStudentDao {

    @Override
    public void save(String name, Integer age) {
        System.out.println(String.format("保存学生%s，%d", name, age));
    }

    @Override
    public void update(String name) {
        System.out.println(String.format("更新学生用户%s", name));
    }

}
